package com.hsurosy.domain.credit.repository;

import com.hsurosy.domain.credit.model.aggregate.TradeAggregate;
import com.hsurosy.domain.credit.model.entity.CreditAccountEntity;

/**
 * @Author Hsu琛君珩
 * @Date 2024-11-24 18:33
 * @Description 用户积分仓储
 * @Version: v1.0.0
 */
public interface ICreditRepository {

    void saveUserCreditTradeOrder(TradeAggregate tradeAggregate);

    CreditAccountEntity queryUserCreditAccount(String userId);

}
